<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            text-decoration: none;
        }

        .news {
            background-image: url(https://img.imgdb.cn/item/603a17965f4313ce251c071c.gif);
            width: 300px;
            height: 410px;
            padding: 10px;
        }


        .news>span {
            display: block;
            padding-left: 15px;
            border-left: 3px solid green;
            font-size: 18px;
            color: white;
        }

        .text-box {
            margin-top: 10px;
            background-color: white;
            overflow: hidden;
            padding: 0 10px;
            width: 280px;
        }

        .text-box>li {
            border-bottom: 1px dashed black;
            position: relative;
            padding-left: 20px;
            height: 30px;
            line-height: 30px;
            font-size: 13px;
        }

        .text-box>li>a:hover {
            color: red;
            text-decoration: underline;
        }

        .text-box>li::after {
            content: "";
            display: block;
            background-image: url(https://img.imgdb.cn/item/603a17965f4313ce251c0721.gif);
            width: 12px;
            height: 12px;
            position: absolute;
            left: 0;
            top: 10px;
        }
    </style>
</head>

<body>
    <div class="news">
        <span>爱宠知识</span>
        <ul class="text-box">
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
            <li>
                <a href="#">
                    养狗比养猫对健康更有利
                </a>
            </li>
        </ul>
    </div>
</body>

</html>